package com.freewater.springboot.demo.ioc.eventlistener;

import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
public class CustomEvent {

    public static final int LEVEL_INFO = 1;
    public static final int LEVEL_WARN = 2;
    public static final int LEVEL_ERROR = 3;

    private final int level;

    private final String msg;

    public CustomEvent(int level, String msg) {
        this.level = level;
        this.msg = msg;
    }
}
